<template>
    <div class="triangle_main" @click='go_search_pages'>
        <div class="triangle"></div>
    </div>
</template>


<script>
import {mapMutations} from "vuex" ;
export default {
    methods:{
        go_search_pages(){
            this.SET_SEARCH({type:this.type,back:this.back,s_value:this.s_value}) ;
                  wx.navigateTo({ url: "/pages/search/main" })     
        },
        ...mapMutations(["SET_SEARCH"])
    },
    props:["type","back","s_value"]
}
</script>

<style lang="scss" scoped>
    .triangle_main{
        height: 38rpx;
        line-height: 38rpx;
        width: 50rpx;
       display:flex;
        justify-content: center;
        flex-direction: center;
        .triangle{
             margin:auto;
        }
    }
</style>




